function createTime(){
    var date = new Date(ctimeMS);
    console.log(date.toLocaleString());
    var year = date.getFullYear();
    var month = date.getMonth() + 1;
    var day = date.getDate();
    var hour = date.getHours();
    var minute = date.getMinutes();
    return year+"-"+month+"-"+day+"-"+hour+":"+minute;
}

const fs = require("fs");
const path = require("path");
var filePath = path.join(__dirname,"3.txt");
var fileObj = fs.statSync(filePath);
var ctimeMS = fileObj.ctimeMs;
console.log(createTime(ctimeMS));